Skip to content

Circuit-Design

Combinational Circuit Design

  1. Find Input and Output
  2. Truth Table
  3. K-Map Simplify
  4. Circuit

Sequential Circuit Design

Sequential Circuit Analysis

  • Write Equations
    • Clock equation 时钟方程
    • Output equation 输出方程
    • Drive equation 驱动方程
    • State equation 状态方程
  • List State
    • 状态表
    • 状态图
    • 时序图
  • Function
    • 功能
    • 是否自启动 存在无效状态则不能自启动

Example-1

Investigate the operation of the following circuit. Assume the initial state is 0000. Trace the outputs (the Qs) as the clock ticks and determine the purpose of the circuit. You must show your trace to complete your answer.

JRr3J4
  • Equation
    • Clock equation
      • CP0=CP1=CP2=CP3
    • Ouput equation
      • None
    • Dirve equation
      • J0=Q3n,K0=Q3n
      • J1=Q0n,K1=Q0n
      • J2=Q1n,K2=Q1n
      • J3=Q2n,K3=Q2n
    • State equation
      • Feature equation: Qn+1=JQn+KQn
      • Q0n+1=Q3n Q0n+Q3nQ0n=Q3n
      • Q1n+1=Q0n Q1n+Q0nQ1n=Q0n
      • Q2n+1=Q1n Q2n+Q1nQ2n=Q1n
      • Q3n+1=Q2n Q3n+Q2nQ3n=Q2n
  • State
Q0nQ1nQ2nQ3nQ0n+1Q1n+1Q2n+1Q3n+1
00001000
00010000
00101001
00110001
01001010
01010010
01101011
01110011
10001100
10010100
10101101
10110101
11001110
11010110
11101111
11110111

Valid status 0000>1000>1100>1110>1111>0111>0011>0001>0000 Invalid status 0010>1001>0100>1010>1101>0110>1011>0101>0010

Design Sequencial Circuit

  1. State Diagram
  2. State Equation
  3. Output Equation
  4. Flip-Flop
  5. Circuit

Example-2

Design a finite state machine (FSM) for a counter that counts through the 3-bit prime numbers downwards and loop: {7>5>3>2>7>5>3>2}. Assume the counter starts with initial prime set to 111 as its first 3 bit prime number. (12 points)

  1. You need to provide the state transition diagram. Assume that the state is stored in three D Flip Flops. Hint: The set of all 3-bit prime numbers includes 2, 3, 5 and 7. (4 points)
  • State Diagram
StateDiagram-2
  1. Design the sequential circuit for the counter. The circuit is driven by the clock. The output is a 7 segment LED display. The various digits from 0 through 9 can be displayed using a 7-segment display as shown in the following figure.
Q2nQ1nQ0nQ2n+1Q1n+1Q0n+1abcdefgLED
11110111100007
10101110110115
01101011110013
01011111011012

a=1b=Q2n+Q1n+Q0nc=Q2n+Q1n+Q0nd=Q2n+Q1n+Q0ne=Q2nQ1nQ0nf=Q2nQ1nQ0ng=Q2n+Q1n+Q0n

zGv0xW